package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Michael Pi on 2016/11/18.
 */

public class DropOffBikeBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"isprize":1,"prizeDetail":[{"prizeAmount":"2元优惠券","couponsCount":"3"}]}
     */

    @SerializedName("status")
    private int status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private Object debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * isprize : 1
         * prizeDetail : [{"prizeAmount":"2元优惠券","couponsCount":"3"}]
         */

        @SerializedName("isprize")
        private String isprize;
        @SerializedName("prizeMsg")
        private String prizeMsg;
        @SerializedName("prizeDetail")
        private List<PrizeDetailBean> prizeDetail;

        public String getIsprize() {
            return isprize;
        }

        public void setIsprize(String isprize) {
            this.isprize = isprize;
        }

        public String getPrizeMsg() {
            return prizeMsg;
        }

        public void setPrizeMsg(String prizeMsg) {
            this.prizeMsg = prizeMsg;
        }

        public List<PrizeDetailBean> getPrizeDetail() {
            return prizeDetail;
        }

        public void setPrizeDetail(List<PrizeDetailBean> prizeDetail) {
            this.prizeDetail = prizeDetail;
        }

        public static class PrizeDetailBean {
            /**
             * prizeAmount : 2元优惠券
             * couponsCount : 3
             */

            @SerializedName("prizeAmount")
            private String prizeAmount;
            @SerializedName("couponsCount")
            private String couponsCount;

            public String getPrizeAmount() {
                return prizeAmount;
            }

            public void setPrizeAmount(String prizeAmount) {
                this.prizeAmount = prizeAmount;
            }

            public String getCouponsCount() {
                return couponsCount;
            }

            public void setCouponsCount(String couponsCount) {
                this.couponsCount = couponsCount;
            }
        }
    }
}
